package org.zxy.auth.mapper;

import org.zxy.auth.domain.RolePermission;
import org.zxy.base.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author zxy
 * @since 2024-04-09
 */
public interface RolePermissionMapper extends BaseMapper<RolePermission> {
    void deleteByRoleId(Long id);

    void batchSave(List<RolePermission> list);

    List<Long> getPermsssionId(Long id);

    List<String> getPermissionSnByEmpId(Long id);

}
